const { src } = require('gulp');
const cleanPlugin = require('gulp-clean');
const { paths } = require('./utils');

function clean() {
  return src(paths.DIST_PATH, { read: false, allowEmpty: true }).pipe(
    cleanPlugin()
  );
}

exports.clean = clean;
